Minor fix to solver seting in invert_test.