add some service discovery tests

Jira-issue: WP-1119