Changed create_request return
Added tests for send_request