edit README, add unit tests