test for ordereddict directly instead of via python version