add node test code, improve rfm2mqtt