fixed test for url