A less flawed design would test white dems vs white republicans.
Actually, the study did consider only whites. From the article:
"For their study, Nosek, Banaji and social psychologist Erik Thompson culled self-acknowledged views about blacks from nearly 130,000 whites, who volunteered online to participate in a widely used test of racial bias that measures the speed of people's associations between black or white faces and positive or negative words. "