Adding test for #each with child sections

Adding test. Closes #750.