added WS check to shared_webworker test case