passing specs and new JSON matchers for refactored chat_server.rb