added api test method to send message