Fixed mocked test.