Mongo connect lib with its test cases