Fixed dry run.
Added dry run tests for directory creation.