tests.main(): disable colors when appropriate