unit-tests: Clean up memory in new asn1 unit tests