implements testMongo to basic_stats test cases
testMongo module for test cases that involves database