Fix dir creation test