Add ex02_07 and test cases