Finalize chapter 5 tests