added tests for the ordering of repos, package_names and renamed_packages