fix test script for travis