FLUID-4927: Refactored the repetition code in uiOptionsTests.