Test for foreach tag.