modify testcode and add ex17_05