added struct test using member integer pointer