Tests for ElementHelper.