Testing the concepts of Angular UI Router