Introduce flexible metadata checks, add tests (package_name, version)
Do not check to long lines - my attempts to make them shorter make the code hard to read