adds chat controller
adds test for initializing event handler