It's fairly straight forward, see https://github.com/praekelt/vumi-go/blob/develop/go/base/tests/test_go_send_app_worker_command.py