freemodbus:add test code