Wrote tests for the easy recursive Directory operations and fixed some bugs while doing that