Fixed python3 ResourceWarning in test.py

A fix for the ResourceWarning mentioned in #12.

All of your tests now pass cleanly on both `Python 3.3.3` and `Python 2.7.6`.