Rewrite basic tests to my standard.
Add example to doc.