HH-47288 fix test on trailing slash at the end