Merge "Add send and check reply packet function for multi-devices tests" into main