modify directory fot in-place test