Fix tests relying on font-specific metrics