More tests.
Docs added.