iMac not seeing hard drive

Hi again, you can try connecting the hard drive directly to your Mac and running a test with Disk Utility. Check the link below for more info. 

How to test a drive for defects or problems on a Mac