testing datetime queries on ObjectId