Merge "Add a test for package priority ranking." into lmp-sprout-dev