fixed matrix solver test