toggle testing mode