testing is functionnal. tests are OK for small matrices (100*100)