Tests to check for file creation