test file creation