test case for encode/decode http2 frame.