Update validation and tests for urls