write a few more test cases for Chap 3