add test script for travis