conjugate gradient unit tests