Test on loop optimizations.