fix broken test about file creation