Stub out background enqueuing in tests.