refactoring of circular imports; test of __all__ attribute of pypet package