test-driven development with AngularJS & Karma