refactored UiContainerTests