Tests unit and doc