Add tests for the PackageImports extension.

Include positive (works when PackageImports is present) and negative
(compile error if PackageImports is absent) tests.
No code HSE code changes required to make these tests pass.