mocking mongo interation