fix test_keep_data so that it looks up the texture before checking if data exists
Merge pull request #2422 from kivy/fix_test_keep_data

fix test_keep_data so that it looks up the texture