style(init): simplify condition for generateTestMain, better wording