test for structs and hiberate