Add test for deleteByQuery() with an actual query object.