! fixed RawMessage::readstruct method
! fixed test to check that all messages have been recieved