example for init and using inputs/outputs in main_merge_test.c