Added integration tests for node discovery (CPP-145)