fix testmm cases where j != k