webtest fixes 4.6
Merge pull request #4802 from jitendrapurohit/webtest4.6

webtest fixes 4.6