use bash to change test directory