Add flate decompression
Update doc examples to be tested