stat_collector tests
loggregator tests
task tests
Fix promise refactoring