Added Test for event packet.
Modified samples.
Merge branch 'fix_event_packet_parse_bug'
Merge branch 'master' into initiator