Changed unit tests for message output