better test script for travis