Fixed up docstrings, added basic OO public API unit tests

Thanks @ebolyen for the suggestions!