It is clearer to directly test equality instead of doing indirect assertions via patching __eq__.
worker_replication_*
instance_map