adding tests for directory copy