Added unit tests for UiEngine components.