Test $rootScope