add unit test about MessagesTest.cs except for method Win()