test setCoil