Added a test to ensure that returning structs from methods internal to ralph works correctly.
Forgot to do codegen for endpoints, servicefactory-s, and servicereferences returned from methods.