Tests to ensure existing files and directories are preserved