setting testing mode by default for credential testing