Add more test cases for texture manager.