Add a test for package priority ranking.

Bug: 16005082
Depends-On: If98e313fcd6262ad146dc583d3d3f31661d41daa
Change-Id: I675be87f91e0acc474afe0dde68df04d0fd98bcf
5 files changed