added textures for squares (with test)