updated chat frontend tests