made config a member variable in TestMongo