finish chapter 8 the unit tests