modified test_types.py to be compatible with python 3
Merge pull request #193 from garretraziel/master

modified test_types.py to be compatible with python 3