only making directories once with testdir