Fix element reassociation test.