Test to decide whether African-Americans could vote during Jim Crow's time