beginning chapter 9, adding edit tests