Test for exception cascading.
Tests around exception cascading.