Added more test for struct.