Fixed test: expanded window to show sidebar button
Replaced $rootScope.$on/$emit with EventDispatcher for event pnd-dashboard-show-tab