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

Fix tests