Most unittests/doctests for conversion