reset a testing flag