Test for python dict consumer.