DiscoveryThreadTest: Add new test case.

* testCreateSocketReturnsNewInstance()