Implement a Python function called calculate_area in the file /app/solution.py. This function should take two parameters, length and width, both of which are expected to be positive integers representing the dimensions of a rectangle. The function should return the area of the rectangle, calculated as length * width.
Specific Requirements:
The function must validate that both length and width are positive integers. If either parameter is not a positive integer, the function should raise a ValueError with the message "Length and width must be positive integers".
If the inputs are valid, the function should return the area as an integer.
Ensure that the function handles edge cases, such as when length or width is zero by raising the same ValueError.
Example:
Input: calculate_area(5, 10) should return 50.
Input: calculate_area(0, 5) should raise ValueError.
Input: calculate_area(-2, 3) should raise ValueError.
Input: calculate_area(7, 0) should raise ValueError.
Ensure your implementation passes the provided test cases.