Update Chapter 7 Test

http://stackoverflow.com/questions/7000266/close-window-on-pressing-of-certain-key