Better testing around calls to ``make_dir``