Test URN encoding/decoding.
Test equivalence of URNs constructed from encoded or raw strings.