I am glad we are testing this but it seems like we are poking a lot of internal state to make this work... Seems like we can extend an existing test to make this work: https://github.com/ganesh7/gaia/blob/baabf005e2fa55993599e38f578f5c188fea4b24/apps/calendar/test/unit/worker/manager_test.js#L144