Added tests to test/message_processor_test.rb