update doc
update doc
fix tests