Add test for cyclic calls