Add unittests

Hey,

before working on issue #3 I thought it would be a good idea to add some tests again. 

I added also a '.travis.yml'. See result here https://travis-ci.org/stephan-hof/pep8-naming