Added test for equality between Elements using the content

Tests for equality between Elements relative to their content rather than object references.