Testing basic knowledge is not racist. Removing such tests actually undermines democracy, as democracy is the regime that requires the most that each individual has a strong ability in assessing situations in a quantified and calculated manner. That is how the voting system gets close to an effective decision process.