Tuesday's primary is the first big test of the legislation, which was opposed by voting rights groups and Democrats.