test delete of a file