ensure test directory exists