unit test for func func2 success
find one error in jacobianforpoint, corrected