initial stab at testing $state.transitionTo() and related promises (see #41)