Completed test exercises of chapter 5