Test an exception was thrown.