Chapter_7 test code add.