test fix and improvement
fix for webtest WRT changes done for CRM-12120
Merge pull request #217 from pratik-joshi/webtest-improvement-fixes

test fix and improvement