doc added; bugs in tests fixed; example folder added