Adds test coverage for initiating dir