Added a test for the change of the condition in DeReference processing
Added a test for the change of the condition in DeReference processing

This checks DBRef conversion using DynamicField with the ordering
guarantee.

Davidrjx/mongoengine,cogniteev/mongoengine,Davidrjx/mongoengine,MongoEngine/mongoengine,cogniteev/mongoengine