Unit testing UI rules

Unit test UI rules, such as harnesses and sections.