Fixed ConnectionManager tests