Add ref to ret in test_7754
Ensure that the ports are integers
Assign the ret value
Add ret value to test return data
Fix typo from 6bc5ea34.