fixes to UIA unit tests