fix test for php54