modified tests for linsolve