spec for limit loops