test for root struct
implemented root struct