asn1: use with-string-reader in the tests.