add test on url for django templates