add a script to run tests on travisci