add gmock for better matchers
it knows the pattern ids
add #control_type spec for Element
maps uia patterns in Element
push #control_type into Element