Fix incorrect test (external path should retain any trailing slashes)