Adding new config option for log heading
Added tests for heading