Add send message unit test.