adding integration tests for inbound endpoint

Rather than naming variables as "name1", etc, try to use more meaningful names.