Updated test script for travis