Added optional test output directory