fixed the tests to run with mongoengine 0.7.1
fixed the tests to run with mongoengine 0.7.1

losintikfos/flask-mongoengine,gerasim13/flask-mongoengine-1,gerasim13/flask-mongoengine-1,losintikfos/flask-mongoengine