integration: add basic discovery tests

for #1399 
It needs to use goroutine to launch member because member will wait for others to register to continue if boot using discovery url.