Chapter 6 Test(class/takehome test)