Update tests to reflect API change to useBinaryProtocol
Fix missing var declaration
Fix handling of multiple messages received as single event