Add documentation. Fix autotest help