Added test for duplicate parameter.