exercises and tests for chapter 7