Add a multiprocessing-safe dummy backend.
Make the tests assume less about the internals of the consumer and related data structures.