test urls as functions