s/ver/dist/ in tests that were clearly stolen from t/plugins/pkgversion.t - no functional changes
also check for the existence of $Package::Name::VERSION in the code before adding another one