Added a test for unexported fields when decoding structs