test: use the "delete" command for collapsed range test