add unit test for generic attribute class serialization

covers int64 attribute serialization as well