Test loopend attribute parsing, limits, and defaults.