a test using flask, mongoDB/mongoengine