Add tests for samplerTerrain.