Primaries a test of Trump’s influence over Republican Party