Enables travis-ci
Makes the unit tests work in Python 2.6