refactoring of UIA unit tests