Fix #181 test inside of web worker