fixed support for EJSON in mocks, added support for $query
adding support for $query and orderby - wip