make tests compatible with python3
Merge pull request #11 from stonebig/tests_compatible_with_python3

make tests compatible with python3