update the test not to be dependent on the order of parameters.