How to verify if the MacBook Pro HDD cable is faulty?
You would use a OHM meter, to test the wires. 

The cable and the plugs are 1:1 thus same pin on both sides.

The meter should show full connection, thus no resistance at all.

Some meters have the Audible signal for testing the connection.

I know you know this but here it is anyway.