merge of #2887 Test driver seems to not read all of dictionaries in Python driver