Chapter 2 exercises and tests