Update tests for new cudaGetTextureReference usage.