create tests out of chapter 7