Added .travis.yml for testing
Ensure test data is created and other fixes
Merge pull request #19 from astrofrog/travis

Added .travis.yml
Ensure that a copy of the keys is taken otherwise Python 3 is modifying the key list on-the-fly, causing some keys to be missed
moments fixed