test: add decoder test