Tests on varying trip counts (to validate vector/cleanup loops).