orm: add test for unexported struct field