add test: figure 9