added more tests on messages.