Test case for AngularJS web framework