(feat)basic unit test for chat controller