change the sending rule about the valid bulb and fix the test code