move chat's test into test_chat.rb