added chat feature and running test