Fixes passing of engine options to tests
Support complex queries on _id, such as $in