Finished unit tests for ChatMessagesLogic