modified to add url test