Pull in run_tests.bash work

Also, integrates pretty nicely with travis ci.