science chapter 6 test on machines