HH-47288 handle trailing slash at the end of url in testing