Add test and prototype ch2.ex08