integration: add basic discovery tests

for #1399 
NewClusterByDiscovery?