Added some tests and docs, algorithms fixes
Fzzlib header bugfix