DEV: Finished test for define_output_ports function in wrap_lib.py