Test anchor encoding/decoding in test_iri_support.