added test: connect many and return first match