Tests: Add unittest for Element class