New code and new module with tests for the docs.
Merge pull request #31 from edelbluth/more_tests

New code and new module with tests for the docs.