test for call and call_raw methods