init structure and sample test