add test for SampleTexture