add structs as type tests