Added some unit tests about TemplatingDataCollector