Fix for #4. DocTest testcases now properly teared down.