Make dr.idle.callOnIdle more robust

Also, added a testcase for dr.idle in general

[Delivers #84089388]