add script and remove test for php 5.7