Remove FileSystemException and IllegalPathException
Add missing unit tests
Simplify testability of PathResolver.RelativePath