Add test that covers dumping unexported struct fields.