test dir setup