Update AttributeElement.java

Test for serialization.