pattern generator to UIA unit tests (part 1)