make the SaveStack testing function use CaptureCurrentStack