'test Query#$where where a function arg': function () {
   var query = new Query();
   function filter () {
     return this.lastName === this.firstName;
   }
   query.$where(filter);
   query._conditions.should.eql({$where: filter});
 },
 'test Query#where where a javascript string arg': function () {
   var query = new Query();
   query.$where('this.lastName === this.firstName');
   query._conditions.should.eql({$where: 'this.lastName === this.firstName'});
 },