Fix string tests for Python 3
Add .travis.yml