Copy-adapted test for XMLCompressor