Add tests for the PackageImports extension.