Add tests for Config class