Added tests for element.