Don't use global params variable in tests.