Improve doc. More tests.