webtest fixes 4.5
Merge pull request #4318 from jitendrapurohit/webtestfixes

webtest fixes 4.5