fix tests, add doc, CI