Add test for marshal struct with unexported field.