Fix for webtests
Merge pull request #4774 from rohankatkar/Webtests

Fix for webtests