Check_derivatives_all only does fwd and rev if requested