added test cases for iterative solvers.