using result.should be_within(0.5).of(3.0) matcher
adding real-data test of delta_v