Test and Debug Solutions for 3D-Stacked Integrated Circuits