Add private params variable, for testing.
Update tests for config().
Update for config() function.