Added an example test. Main effort on design and documentation.