// test
final double refValue = option2.NPV();
final Flag f = new Flag();
option2.addObserver(f);
option1.impliedVolatility(refValue*1.5, stochProcess, tolerance, maxEvaluations);
if (f.isUp()) {
fail("implied volatility calculation triggered a change in another instrument");