Fix tests and convert all package lists to Name[Versions] format