Mongoengine handler tests