op: Add test cases for Decode.