What results do you get if you connect the third sensor but use the code for two sensors (just pull the SS pin of the third sensor high)? Does that work? If that doesn't work correctly too, your wiring is wrong, probably too long bus wires. How long is the complete bus (all interconnecting wires together for p.e. MOSI)?