add testKey() method
bind texture just before glTexSubImage()