fixed test for different urlparse behaviour