More tests for path() and minor updates