#145 should not have used withdir for testdirs