Magnetic Coupling Based Test Development for Contact and Interconnect Defects in STT-MRAMs