Also might be good to have a test checking that resolve()/getFileForPath() with the new path returns the original object, and resolve()/getFileForPath() with the old path returns a new, unrelated object.