New spec tests for chapter 5