Fix a bug of mmtest.
Output \r after \n to simplify text layout.