Regression test for #518
Fix cursor invocation, passing args to underlying method