trivial. doc changes
added some initial unit tests