Capter_6 test code add.