Add 2 tests: texture vs global memory, and pointer type checking