test: Add test case for indirect calls.