added simple unit test and getMongoClientObject method