Add some basic tests for the convert functions
Make docstrings more sphinx friendly