Url decoding in validation and more tests