Some mockery test coverage