tests: In test_encode_decode_benchmark, use KeyChain to sign.