update tests and CG methods