Add a doc string.
Fix typo, add test