added deriv test to to_fvar