Test struct type matching for uniforms.

kbr: please review