Removing explicit connection switching from test.

This should address the original question correctly.
Adding documentation to tests.