Added method to clean up mocked services