Fixed test to work with adding the two new getFilesystem()->rename() calls.
Converting from file_exists to using the filesystem object.