Thread Class PHP and unitTest pdf