It's excellent methodology because they asked indirect questions. Coming out and asking someone "Hey, are you a racist?" wouldn't be effective.
Asking someone in an unrelated economic experiment something like "Would you mind if your neighbors were black?" is more accurate because it tricks people into revealing their true biases.