Unittests for UiObject.