tests for message processor