Import local packages that raise warnings in test setup function
More fixes to doctests