added struct type return test case for python bindings