Make test work with python3
Merge pull request #6 from nouiz/abalkin-py3k-fixes

Make test work with python3