the test case for ToolData, bugs removed