added sent_trajectory and testclient