Internal Test: Verify stack count during creation, stacking, and clearing.