Add tests for using constant expressions in the loop condition.