rename the web_test class
use to_s instead of string from MatchData, fix #1011, update #989