client-test: improve remote files deleting