Redmine#3429: acceptance test for copy and purge of empty directory

See https://cfengine.com/dev/issues/3429 for details.