MotorCortex.js, Testing AngularJS with Jasmine