test: fix error in test

The error handler should not be called when an error is thrown *within* the error handler.

I realize we're talking about changing this behavior now, but previously we were not calling the error handler *if* there was a throw inside another error handler.

This test fix asserts the old behavior, and it passes. When we're sure about changing the behavior I'm all for changing the test.