Test for history dir creation.