added udp, json, cpu usage test function