added tests for pydict and utils