update readme and add test for html and php file