Tests for discover