Corrected grammar in scenario to match the actual output
Added test for getting the parameter name to ensure the value is a string before it is returned