let's move this logic to `handled_call.js`, one of the very good side effects is that it will be easily testable, so let's also test it :)