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

Added .travis.yml