test for call function