Reorder test to ensure call is canceled before its body is returned

fix #789