add more tests for groupchat.erl