Tests for pkgutil-related functionality