Chapter_8 test code add.