Improvements in Url class and test page