Added a test for the repo prioritization