call function test case written