[PULL 13/13] tests: Replace deprecated ASN1 code