Iteration branch pull request for review.

Do not use this way for testing expected exceptions.
You do not know if the exception was thrown at the point where you wanted to test.
It could have been raised at some point earlier or later from another internal peice of code, in which case,
this would be a false positive.