Added a regression test for extern function calls.