Refactor the test code in ch03, ch05
Add ch05/ex06
Add ch05/ex07