Fixed python3 ResourceWarning in test.py
Merge pull request #13 from nCrazed/py3

Fixed python3 ResourceWarning in test.py