add test code for send data to central