fix typo
whitespace
whitespace
Add documentation.
Deduplicate tests.