Actually, it's not just the tests missing: The DER representation is currently not implemented for all ASN.1 types.