added chapter 8
added one more test