Unittest serialization through properties