Create unit tests from the existing doctests