tests: Add a test of the xz plugin.