TDD: Mocking a component in the object store