Extract doctests as unittests
Remove unused package