test multiple connections and return results