I did think about this, and decided not to. This is specifically for test scenarios. If the unit test blows up because the test author didn't manage it properly, I'm fine with that.