created url function in test.py