delete file tests fix