working version of test to send and receive data from yellowAPI