fix(exports):fixed window test to add web worker compatibility