Added test for variable parameters.