simplify test of MStackTest