tests for qr, lu, svd