Done writing test for SendStruct func