Fix test with multiple web workers in the same environment