added tests for empty struct / class serialization