Corrected usage of textures in tests.