Add test on php error strategy