Modify url resolution tests to tolerate empty paths with or without a slash