updated stack peeking switch
update CWStack unit test for new stack peeking switch