test case shared webworkers - reduced code