add tests for embedded requesting