Test case for structure datatype