Moved mocks from src to test.