Chapter 7 edit spec tests