Add ref to ret in test_7754