Example of testing a AngularJS controller