Unit test controller reemoved $scope