Added additional unit test coverage; added a very basic example of usage.