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

webtest fixes 4.6