glsl/tests: Add a test for properties of sampler types.