added xz testcases, not completely working yet