fix webtest
Merge pull request #1546 from yashodha/webtest-fixes

fix webtest