Test copyTree and glob