setup dirs & tests