repaired ConnectionTest