updated test script for Travis