add testing libraries
complete excercises for chapter 2