AngularJS and Atmosphere Chat with Unit Tests