Copy test directory first