"""Tests for discovery."""