Tests for general linear solver