update test for spin structure