Added Header tests

Change-Id: I331f9d1f2f65317e2af59b64fd389e7034dc3a3f
diff --git a/src/app/core/header/header.html b/src/app/core/header/header.html
index 9f50c7b..8359ab3 100644
--- a/src/app/core/header/header.html
+++ b/src/app/core/header/header.html
@@ -5,11 +5,11 @@
     </a>
   </p>
   <p class="header-date notification">
-    <i ng-show="vm.newNotifications.length > 0" class="badge"></i>
-    <i class="fa fa-bell" ng-click="showNotification = !showNotification"></i>
-    <div class="notification-panel" ng-show="showNotification">
+    <i ng-if="vm.newNotifications.length > 0" class="badge"></i>
+    <i class="fa fa-bell" ng-click="vm.showNotification = !vm.showNotification"></i>
+    <div class="notification-panel" ng-show="vm.showNotification">
       <ul>
-        <li ng-repeat="n in vm.notifications" ng-click="vm.viewNotification(n)" ng-class="{viewed: n.viewed}">
+        <li ng-repeat="n in vm.notifications track by $index" ng-click="vm.viewNotification(n)" ng-class="{viewed: n.viewed}">
           <b>{{n.model}}</b><br>
           <i>{{n.msg.object.name}} status is {{n.msg.object.backend_status}}</i>
         </li>