Nit: this `initialDirectory` vars seem unneeded -- you could just reference `testPath` directly when initializing `newFilePath`.
Ditto in the next test also.