Added ChatManagerTest

Mostly tested ChatManager
Changed import statements (cleanup)