test: add test for length udp send callback value