Tests ordering of exit/enter observer hooks