testmode test flag updated