Implement a function called calculate_area in the file /app/geometry.py. This function should take two parameters, width and height, which are both expected to be positive integers, and return the area of a rectangle calculated as width * height.
Requirements:
The function should validate that both width and height are positive integers. If either parameter is invalid (i.e., non-integer or negative), the function should raise a ValueError with the message "Width and height must be positive integers."
The function should return the area as an integer.
Write appropriate unit tests in a separate file /tests/test_geometry.py to cover the following scenarios:
Returning the correct area for valid width and height inputs.
Raising a ValueError for negative width or height.
Raising a ValueError for non-integer width or height.
Ensure that your tests use a testing framework such as unittest or pytest.
Once completed, this implementation should pass all defined tests in /tests/test_geometry.py.