Add expectRootCause to expected exception rule, fixes #714