revert the changes back.  The reason is that, after an unittest run, we reset only a few specific config attributes not all the attributes.  And the logic to reconstruct the config parameter for the Collector::config.configure method is an over-kill. The current solution is a good work around for now to make the unit test stabler.