change directory for running test script in travis