Consistently use the test main context in connection tests
It's a little bit nicer to say "iterate the main context of the current test" rather than "iterate the default main context." This doesn't actually change anything, because test->context is always the default main context, and NULL means "use the default main context." This is just a readability/style improvement, matching the changes proposed for DTLS in !155 (merged).