ensure that test directory exists