adds unit tests, minor updates to a few classes
Merge pull request #6 from kmfk/unit-tests

adds unit tests, minor updates to a few classes