Fixed copy tests from Dir class