Fixed python3 deprecation warnings in test.py
Merge pull request #12 from nCrazed/py3

Fixed python3 deprecation warnings in test.py