removing trailing / from urls in tests.