Add test case for the decoding path.