Reworked unit tests for using sigencode=sigencode_der_canonize in emu/trezor.