using mkdirp in tests