Fixed $q.when to $q.reject
Added tests for $transition$ injected into controller, and TransitionSuperseded