test datastruct