Added test for NoKeyInPayloadException
This test helps ensure the code can handle situations where a key is missing from the payload, preventing unexpected errors.
Added test for InvalidArgumentException
This test checks if the code can handle invalid input arguments, improving the overall robustness of the system.