added struct tests