Problems after switch to Pkg3

Search and replace Pkg with OldPkg, add an import OldPkg and things work just like before.

Yes, you cannot add a dependency to your named project (package) that has the same name as the project. If you just want to test the package, just do Pkg.test().

Again, this looks like a faulty Project file.