add common test and remove type in html parser