fix some codes in the tests (cholesky and conj_gradient)