added test for WRITE_STRUCT_VAR, caught