Test for combining several material elements.