added test for isCallback