Added test case for disallowing to overwrite session parameters.