tests: Added test-encode-decode-interest.