Instead of resetting the config after testcase run, it's better to always set the Collector::config before testcase run.