Use isAbsoluteUrl and add passing test for absolute paths