Added more "appendMessage" unit tests.