[communication] [Xbee_API] Modifies testTimeout prototype to enable nesting.