Webtest fix.
Merge pull request #4055 from rohankatkar/webtest2

Webtest fix.