move travis tests to test script
return exit code of executed program
somewhat of a test framework
add some more basic smoke tests