Added unittest
Added a setUp() method to unittests so that I can check for the python version and avoid 'unicode' keyword errors in python 3.