adding test flag to bypass terminate prompt