Enabling profiler in test

Some people have open issues about how enabling the profiler in test enviroment. The option enable profiler working correctly but some people don't want enabling the data collecting in each tests. So you can define in config_test.yml the collect parameter to false. The data will collect only in tests that call 
$client->enableProfiler();