Add test with a decoder.