refactored ToolConfigView for testing