testing struct fields