Bug 826424 Adding a test for worker.tab dnw when require(tab) was not used

@ZER0 mind taking a look at this? if you cherry-pick the commit on b205f229a706aa8d8c622d4a3cacda5e0705e5ed then the test fails.