Moved test for decoding