unit_tests: Added TestDerEncodeDecode.