introduced tests for exclude in Restore.groovy