add code to test TextureAtlas::setRegion