Added regression test for struct initialization and some helper macros for writing regression tests.