PkgInfo: make tests more specific (use regexp instead of notError)