test(engine): test removal of spin serialized variable

related to CAM-2834