Chapter 17 test code update.