fix up tests for url