Fix util unit tests & improve docs
Fix minor typo