test for url.py