update test code
update TypeApply