Change struct test to an example