[webapi][XWALK-2218] Updating workers TCs so that error info can be print

- SharedWorker object defined in tests{}, so that if any undefined info can be print

Impacted TCs num(approved): New 0, Update 3, Delete 0
Unit test Platform: Tizen IVI
Tizen test result summary: Pass 3, Fail 0, Blocked 0
Merge pull request #609 from xinliux/xinliux/webapi/XWALK-2218

[webapi][XWALK-2218] Updating workers TCs so that error info can be prin...