modified LAPACK test