Created message encoding/decoding test cases.