Add the method stringMatrixTest