Tests for discovery