Test and debug depthCorrect and its called methods.