Lorem Ipsum test files, try different checksums too
Lorem_Ipsum.txt using multiple streams.

This example was created as follows. First split up the file
into 1000 byte chunks,

>>> data = open(Lorem_Ipsum.txt, rb).read()
>>> len(data)
5844
>>> for block in range(6):
...     h = open(Lorem_Ipsum.1kb%i.txt % (block+1), w)
...     h.write(data[i*1000:(i+1)*1000])
...     h.close()
...

Then compress each chunk individually (using default of one
stream containing one block):

$ cat Lorem_Ipsum.1kb1.txt | xz > Lorem_Ipsum.1kb1.txt.xz
$ cat Lorem_Ipsum.1kb2.txt | xz > Lorem_Ipsum.1kb2.txt.xz
$ cat Lorem_Ipsum.1kb3.txt | xz > Lorem_Ipsum.1kb3.txt.xz
$ cat Lorem_Ipsum.1kb4.txt | xz > Lorem_Ipsum.1kb4.txt.xz
$ cat Lorem_Ipsum.1kb5.txt | xz > Lorem_Ipsum.1kb5.txt.xz
$ cat Lorem_Ipsum.1kb6.txt | xz > Lorem_Ipsum.1kb6.txt.xz

Then combine them into a single XZ file (using six streams each
with one block):

$ cat Lorem_Ipsum.1kb1.txt.xz Lorem_Ipsum.1kb2.txt.xz Lorem_Ipsum.1kb3.txt.xz Lorem_Ipsum.1kb4.txt.xz Lorem_Ipsum.1kb5.txt.xz Lorem_Ipsum.1kb6.txt.xz > Lorem_Ipsum.txt.s1k.xz

Finally confirm the decompressed output matches the original,

$ cat Lorem_Ipsum.s1k.txt.crc64.xz | unxz | diff Lorem_Ipsum.txt -
Correct typo for SHA256 checksum
Include Lorem_Ipsum.txt.s1k.xz in quick test
Move blocked XZ tests into separate file
Convert test_bxz.py to unittest framework