Tests for copy directory visitor.