Test for ch04e06 added