Added test for ResponseData decoding-encoding issue