Mocked mongoDB for unit testing