Make tests work irrespective of locale timezone.
Add travis-ci.
Merge pull request #27 from felixge/fix-tests

Fix tests