Re-enabled the relative path test, since it turns out this is the right
place for the relative path code after all, plus added some more tests
to increase coverage.