fixing test script for travis