test edit and file creation