Testing integration with mongoengine