fix tests for urls with slash