Add dir creation test.