Added decoder test.