test for handlers after catch
remove dependencies on Object and StateMachine
doResolve is private