Little work on tests and docs.