opt-test: Merge struct declaration and initialization