Added unit tests for Element and ElementList