Added error handling for the code 422 in the pytests
In the Pytests, an error handling for the error code 422 is to be created, which additionally returns a corresponding message. This should happen if, for example, a string or another data type is specified instead of a required integer, since there is no exception for the code 422 yet.