added function to send a test dictionary