Refactor test with a structured setup

Replace unstructured setup in UidRangeSubPriority test to a structured
format. It can increases the readability and extensibility.

Bug: 182460808
Test: atest
Change-Id: I7ac0ef6b6622c6e6395ee4a700daab67b0e159ba
1 file changed