added test for mongo_query view