fix mainTest