add better test script for travis