tests: Fix arbitrary constants in Client Agent tests to be within the range of uint16.