libtasn1: add test

Closes #35361.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>