Added send message unit test.