add test for trailing slash when converting urls