Add debug output to linalg4 tests