added test output dir creation