rename struct test
added plat struct support
added enum support