Added unit tests (NUnit).
Cleaned up example.
Updated README.

Signed-off-by: Patrick Hogan <pbhogan@gmail.com>