added test for delete by query builder