The stock advice when dealing with hard drives is to connect it to a known-working SATA port on a known-good machine, and read the S.M.A.R.T. data/logs off of it to see if the drive is good or not.

Eg. (Linux): smartctl -a /dev/sdX