testing using just the figure element with class