Added regression test for thrift + structs

Anything else we should test at this point?