Add `ui.isForeign`, add guards for Worker tests, and remove Dojo loader filter from test.