python file to test calls to mongo db using pymongo