Although Ace is often used when a person passes a test, the name doesn’t mean “intelligent.” Over the centuries, “Ace” has evolved to mean “the best” or “high achieving” in some places. However, its origin means “unit” or “one.” (source)