Fail if expected exception is not thrown