Fix docstring tests
Merge pull request #30 from astrofrog/doctest

Enable documentation testing