finish MongoQuery and MongoQueryTest