Unit Test for AngularJS Controller