add test cases in TestMatrixMatrixFunc.cpp