Added test for ErrorElement
Merge pull request #2291 from pulzarraider/error_element_test

Added test for ErrorElement