updated test script for travis