tests: In test_encode_decode_data use test TlvData as in ndn-cpp.