Fix tests, remove duplicated and outdated (obsolete) test templates
Port to python 3
Merge pull request #21 from tbicr/test-fix

Python 3 support