A script to mock web workers for unit tests.