Fixes to get the tests project working.
Added setup for Travis CI.