add test script to travis