Touch up tests

Hey there Miguel, I've implemented some improvements to the test suite so it runs properly under Python 3.

I've also implemented an initial .travis.yml for Travis CI support although the build isn't starting for me at the moment so I can't yet verify that it's working correctly.

Please let me know if you have any questions mate :smile: 

Keep up the great work!
Fotis