End-to-end tests for passing JSON payload to a Ruby function and exposing it to a function via event keyword argument.
event