test coverage for nfd encoder/decoder