tests for cholesky