tested dir creation functions