[orm] QueryTable with nil ptr struct
update test