Adds docs and tests, and bump version