Be robust to trailing slash in URL
Add test case