fix setup of test directory