tests: Added test_encode_decode_benchmark. (Still need crypto.)