array attribute serialization tests