TEST: Fix invalid_am_id test.
TEST: Fix invalid_am_id test.

biddisco/ucx,miked-mellanox/ucx,shssf/ucx,shssf/ucx,miked-mellanox/ucx,biddisco/ucx,manjugv/ucx,abouteiller/ucx,miked-mellanox/ucx,manjugv/ucx,manjugv/ucx,shssf/ucx,sergsagal1/ucx_rocm,abouteiller/ucx,abouteiller/ucx,abouteiller/ucx,biddisco/ucx,sergsagal1/ucx_rocm,sergsagal1/ucx_rocm