add external-definition test
update