ASN1: add unit tests for indefinite length decoding