Added tests and travis config
Merge pull request #2 from christiaan/tests

Added tests and travis config