Test for Writer / reader for ASTComp.

- Addition of a test to read / write from a file using the
method used for the Tree compression and decompress.
- Test do not pass (yet), some errors.