Classes to test the connection manager.