add testing mode