Implement member_struct and test against it