Looks like we're doing the exact same thing below. We should refactor a bit. I propose we combine setupFakeWorker and loadFakeWorkerFiles into just one function setupFakeWorker.