Add tests for interpreter createSocket. #29459
Adds tests for the fix merged in #29393.
The root cause which that PR resolved was that we were passing the wrong config as an argument to
All this unit test does is verify that the argument is pulled from the correct place in the config.
I also added a functional test for this issue. It loads different sample data in 2 different spaces, then verifies that the sample dashboards fully render.