Avoid using a dynamic var for connection in tests

That goes against the grain of the new API.
Ditto
Ditto
Ditto
Ditto
Ditto
Ditto
Ditto
Ditto
Ditto
Ditto
Ditto
Ditto
Remove a namespace that's no longer used
Bump Codox