Added test for getPath
Cleanup.