Add URL arg processing and simplified URL test