adapt figure test on changes in figure