Include worker test
Use self global reference instead of window for web workers.