fixed test for url redirect