ruby/Chapter test code add.