add tests and fix docs
1.0.1
fix typo
1.0.2