(You might have said this is in-progress, but it would be good to have a test for relative path (where the URL path is different from the filesystem path) and absolute path)