Updated the test case to give more feedback, plus run it all in $scope.$apply