added message type test. need to decide how to handle the accessors