The xa chat state wasn't being handled properly
Add a test for /clear functionality