fix test for php5.5