Added test for jacobians