add test code for ex3.3.5.3