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