Improved testing.
Add Travis CI support.
Merge pull request #3 from Glavin001/improved-testing

Improved testing, including Travis CI support.