fixed a bug in nonlinear_picard unittest