test is now mocked