- Move tests from thread/tests.rs to tests/mod.rs - Move test_tools from thread/tests/test_tools.rs to tests/test_tools.rs - Update imports and fix compilation errors in tests - Fix private field access by using public messages() method - Add necessary imports for test modules