fixed typedef test
sm debugging tests had wrong assumptions for mac