better tests for Config class