Add tests for Config class, etc.