test for jacobian