fixed using the incorrect res in test case of 'TextureMemoryAlloc'.