Testing if the function is able to read the parameters present in params.