chapter 7 - sample tests