mocking test requirements