added testInternalPackages() + refactoring in TestActivator