update of TestMain